<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
  <head>
	<meta charset="UTF-8">
	<style type="text/css">
		body{
			background-image:url(img/bg7.jpg);
		}
	</style>
	<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />

	<title>凯盛商城购物系统</title>
  </head>
  <body>
	
	<%
		String code = request.getParameter("code");	
		if(code != null && "10001".equals(code)) {
	%>
		<div style="color:red;font-size:24px;padding-top:50px ">用户名或者密码错误</div>
	<%} if(code != null && "10002".equals(code)) {
	%>
		<div style="color:red;font-size:24px;padding-top:50p">请输入用户名和密码</div>
	<%}if(code != null && "10005".equals(code)) {
	%>
		<div style="color:red;font-size:24px;padding-top:50px">请先登录</div>
	<%}%>
	
	<div class="container" style="margin-top:150px">
		<form action="login.jspx" method="post" class="well" style="width:220px;margin:0px auto;border-radius:10px">
			<legend>凯盛商城购物系统</legend>
			<lable>用户名</lable>
			<input type="text" name="name" id="" class="span3" style="height:25px" placeholder="请输入用户名"/>
			<lable>密码</lable>
			<input type="password" name="password" id="" class="span3" style="height:25px" placeholder="请输入密码"/>
			<br/>
			<button class="btn btn-primary" type="submit">进入系统</button>

		</form>
	</div>
 </body>
</html>
